/**
 * huize Service Inc
 * All Rights Reserved @2018
 */
package com.huize.zhike.framework.common.util;

import com.fasterxml.jackson.core.type.TypeReference;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 描述:
 *
 * @author tianyuliang
 * @version $Id: TypeReferenceUtils.java, v0.1 2022/4/12
 */
public class TypeReferenceUtils {

    public static TypeReference<Map<String, Object>> getReferenceTypeMap() {
        TypeReference<Map<String, Object>> typeReference = new TypeReference<Map<String, Object>>() {
        };
        return typeReference;
    }

    public static TypeReference<List<LinkedHashMap<String, Object>>> getReferenceTypeListLinkedHashMap() {
        TypeReference<List<LinkedHashMap<String, Object>>> typeReference = new TypeReference<List<LinkedHashMap<String, Object>>>() {
        };
        return typeReference;
    }

    public static TypeReference<LinkedHashMap<String, Object>> getReferenceTypeLinkedHashMap() {
        TypeReference<LinkedHashMap<String, Object>> typeReference = new TypeReference<LinkedHashMap<String, Object>>() {
        };
        return typeReference;
    }

}